home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / mlk090.zip / DIRSTRUC.C < prev    next >
Text File  |  1991-10-13  |  929b  |  47 lines

  1. #define FILENAME           13
  2. #define TITLE              27
  3. #define PHONE              26
  4. #define LISTSTR            20
  5.  
  6. typedef struct tagSESSION
  7. {
  8.     char      szTitle[TITLE];
  9.     char      szPhone[PHONE];
  10.     int       iProtocol;
  11.     char      szScript[FILENAME];
  12. } SESSION;
  13.  
  14. typedef struct tagPORT
  15. {
  16.     int       iComPort;
  17.     int       iBaudRate;
  18.     int       iFlowCtl;
  19.     int       iParity;
  20.     int       iDataBits;
  21.     int       iStopBits;
  22. } PORT;
  23.  
  24. typedef struct tagTERMINAL
  25. {
  26.     int       iTerminal;
  27.     int       iFontSize;
  28.     int       iCaret;
  29.     int       iBufLines;
  30.     int       iRows;
  31.     int       iCols;
  32.     long      crFore;
  33.     long      crBack;
  34.     int      bCRLF;
  35.     int      bEcho;
  36.     int      bColors;
  37.     char      szFont[LISTSTR];
  38. } TERMINAL;
  39.  
  40. typedef struct tagDIR
  41. {
  42.     SESSION     Session;
  43.     PORT        Port;
  44.     TERMINAL    Terminal;
  45. } DIR;
  46.  
  47.